* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%230095ff' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'/%3E%3C/svg%3E"), linear-gradient(to bottom, rgba(230, 245, 255, 0.3), rgba(255, 255, 255, 0.8));
    color: #333;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Logo section with enhanced styling */
.logo-section {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding: 20px 0;
}

.logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #02b7d5, #0a0a2e, #02b7d5, transparent);
}

.logo-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #02b7d5, #0a0a2e, #02b7d5, transparent);
}

.logo-section img {
    max-width: 180px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(2, 183, 213, 0.2));
    transition: transform 0.3s ease;
}

.logo-section img:hover {
    transform: scale(1.05);
}

.tagline {
    color: #02b7d5;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(10, 10, 46, 0.1);
}

/* Enhanced background patterns */
.pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(2, 183, 213, 0.1);
    border-radius: 15px;
    z-index: -1;
}

.pattern-1 {
    top: -60px;
    right: -60px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, rgba(2, 183, 213, 0.1), rgba(10, 10, 46, 0.05));
}

.pattern-2 {
    bottom: -60px;
    left: -60px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, rgba(10, 10, 46, 0.05), rgba(2, 183, 213, 0.1));
}

/* Fixed about content image fitting */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #02b7d5, #0a0a2e, #02b7d5, transparent);
}

.about-text h2 {
    font-size: 32px;
    color: #0a0a2e;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #02b7d5, #0a0a2e);
    border-radius: 2px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* Fix for image fit to container */
.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100%;
    min-height: 400px;
    background-color: #0a0a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    border: 3px solid rgba(2, 183, 213, 0.3);
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(2, 183, 213, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.about-image:hover img {
    opacity: 0.9;
}

.values-section {
    background-color: white;
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0a0a2e, #02b7d5, #0a0a2e);
}

.values-title {
    font-size: 32px;
    color: #0a0a2e;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0a0a2e, #02b7d5, #0a0a2e);
    border-radius: 2px;
}

/* Enhanced value cards */
.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 183, 213, 0.05), transparent);
    z-index: 0;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #02b7d5;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(2, 183, 213, 0.1), rgba(10, 10, 46, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(2, 183, 213, 0.2);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, rgba(2, 183, 213, 0.3), rgba(10, 10, 46, 0.1));
    transform: scale(1.1);
}

.value-icon i {
    font-size: 30px;
    color: #02b7d5;
}

.value-title {
    font-size: 20px;
    font-weight: 600;
    color: #0a0a2e;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.value-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    position: relative;
    z-index: 1;
}

/* Enhanced stats section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background: linear-gradient(135deg, #0a0a2e, #051149);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-left: 3px solid #02b7d5;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(2, 183, 213, 0.2);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #02b7d5, #4dcbde);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(2, 183, 213, 0.3);
}

.stat-text {
    font-size: 16px;
    font-weight: 500;
}

.stat-pattern {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(2, 183, 213, 0.1);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
}

/* Enhanced management team section */
.management-section {
    padding: 60px 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    position: relative;
}

.management-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, transparent, rgba(2, 183, 213, 0.05));
    border-radius: 0 15px 0 50%;
    z-index: 0;
}

.section-title {
    font-size: 32px;
    color: #0a0a2e;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0a0a2e, #02b7d5, #0a0a2e);
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.team-member {
    border-radius: 10px;
    overflow: hidden;
    background-color: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(2, 183, 213, 0.1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(10, 10, 46, 0.1);
    border-color: rgba(2, 183, 213, 0.3);
}

.member-photo {
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(10, 10, 46, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 10px;
    transition: height 0.3s ease;
}

.team-member:hover .member-overlay {
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 46, 0.9), rgba(10, 10, 46, 0.5));
}

.social-icons {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-member:hover .social-icons {
    opacity: 1;
    transform: translateY(0);
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a2e;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #02b7d5;
    color: white;
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-name {
    font-size: 18px;
    font-weight: 600;
    color: #0a0a2e;
    margin-bottom: 5px;
}

.member-role {
    font-size: 14px;
    color: #02b7d5;
    margin-bottom: 10px;
    font-weight: 500;
}

.member-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Enhanced photo gallery */
.gallery-section {
    padding: 60px 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: #02b7d5;
    box-shadow: 0 10px 20px rgba(2, 183, 213, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 46, 0.7), rgba(2, 183, 213, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: white;
    font-size: 30px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    transform: translateY(0);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(10, 10, 46, 0.9), transparent);
    color: white;
    font-size: 14px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Enhanced modal for gallery */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border: 3px solid rgba(2, 183, 213, 0.3);
    border-radius: 5px;
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
    color: #02b7d5;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.modal-nav-btn {
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn:hover {
    transform: scale(1.1);
    background: rgba(2, 183, 213, 0.7);
}

/* Enhanced CTA section */
.cta-section {
    background: linear-gradient(135deg, #0a0a2e, #02b7d5);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(10, 10, 46, 0.2);
}

.cta-pattern {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

.cta-pattern-1 {
    top: -150px;
    right: -100px;
}

.cta-pattern-2 {
    bottom: -150px;
    left: -100px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-text {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buton {
    background-color: white;
    color: #0a0a2e;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-buton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-buton:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #f5f5f5;
    color: #02b7d5;
}

.cta-buton:hover::before {
    left: 100%;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a0a2e, #02b7d5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(2, 183, 213, 0.3);
}

/* Enhanced media queries for better responsiveness */
@media (max-width: 1200px) {
    .about-content {
        gap: 35px;
    }
    
    .about-image {
        min-height: 350px;
    }
}

@media (max-width: 1024px) {
    .about-container {
        padding: 40px 15px;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .values-container, .team-grid, .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .management-section, .gallery-section, .values-section {
        padding: 50px 30px;
    }
    
    .member-photo {
        height: 220px;
    }
    
    .about-image {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 30px 15px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        min-height: 300px;
        order: -1; /* Move image above text on mobile */
    }
    
    .about-text h2, .section-title, .values-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about-text h2::after, .section-title::after, .values-title::after {
        width: 60px;
        height: 3px;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-section, .management-section, .gallery-section {
        padding: 40px 20px;
        margin-bottom: 40px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    .cta-buton {
        padding: 12px 25px;
    }
}

@media (max-width: 576px) {
    .about-container {
        padding: 25px 12px;
    }
    
    .logo-section img {
        max-width: 150px;
    }
    
    .tagline {
        font-size: 16px;
    }
    
    .about-text h2, .section-title, .values-title {
        font-size: 24px;
    }
    
    .about-text p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .about-image {
        min-height: 250px;
    }
    
    .values-container {
        grid-template-columns: 1fr;
    }
    
    .value-card {
        padding: 20px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon i {
        font-size: 24px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
    
    .modal-content {
        max-width: 95%;
    }
    
    .modal-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}